package ooday02.homework;

public class Fish extends Animal{
    public Fish(){

    }
    public Fish(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    public void eat() {
        System.out.println(getColor()+"的"+getAge()+"岁的小鱼"+getName()+"在吃虾米");
    }
}
